package hotel.switchs.oversea.biz.service;

import hotel.base.oversea.entity.SwitchPriceBaseSetEntity;
import hotel.base.oversea.service.BaseService;
import hotel.base.oversea.utils.Result;
import org.springframework.stereotype.Service;

/**
 * @Author lmf
 * @Date 2020/9/10 16:02
 **/
@Service
public interface SwitchPriceBaseSetService extends BaseService<SwitchPriceBaseSetEntity> {
    /**
     * @author: lmf
     * @date: 2020/9/10 16:04
     * 添加携程价格公式设计
     */
    Result<Object> addPriceBaseSet(SwitchPriceBaseSetEntity switchPriceBaseSetEntity);
    /**
     * @author: lmf
     * @date: 2020/9/10 16:42
     * 获取自动上架配置
     */
    Result<Object> getPriceList();
    /**
     * @author: lmf
     * @date: 2020/9/10 17:38
     * 根据id删除配置
     */
    Result<Object> deletePriceListById(int id);
    /**
     * @author: lmf
     * @date: 2020/9/10 17:59
     * 根据id更新上架价格配置
     */
    Result<Object> updatePriceListById(SwitchPriceBaseSetEntity switchPriceBaseSetEntity);
    /***
    * @Author: lmf
    * @Date: 2020/9/24
     * 开启推送
    */
    Result<Object> openPush();
}
